#!/usr/bin/expect
# login_sftp.ex
set timeout 10
spawn sftp -oPort=9999 qingniu_telesphorus@sftp-p2.zhonganzaixian.cn:/qingniu/telesphorus/upfile
sleep 3
expect "password"  {send "aPlT2Jkn\r"}
sleep 1
interact
